/**
 * author:Administrator
 * date:2016/1/4
 * desc:TODO
 */

var mongoose = require('../conn/mongoose.js');
var Schema = mongoose.Schema;

var modelName = '_test_counter';
var theModel = new mongoose.Schema({
  id: {type: String},//表名字ID
  seq: {type: Number, 'default': 0}//数量
});
theModel.index({id: 1});

module.exports = mongoose.model(modelName, theModel);